<%@page import="cn.util.Const"%>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<div class="tpl-left-nav tpl-left-nav-hover">
	<div class="tpl-left-nav-title">
		功能菜单
	</div>
	<div class="tpl-left-nav-list">
		<ul class="tpl-left-nav-menu">
			<li class="tpl-left-nav-item">
				<a href="<%=Const.ROOT %>manage/index.jsp" class="nav-link active"> <i
					class="am-icon-home"></i> <span>首页</span> </a>
			</li>
			<!-- 毕业生 -->
			<s:if test="#session.role==1">
			<li class="tpl-left-nav-item">
				<a href="javascript:;"
					class="nav-link tpl-left-nav-link-list active"> <i
					class="am-icon-folder"></i> <span>毕业生</span> </a>
					<ul class="tpl-left-nav-sub-menu" style="display: block">
						<li>
							<a href="<%=Const.ROOT %>student_toupdate.action?id=${currentUser.id}"> <i class="am-icon-angle-right"></i>
								<span>我的资料</span> </a>
							<a href="<%=Const.ROOT %>dangan_toupdate.action?uid=${currentUser.id}"> <i class="am-icon-angle-right"></i>
								<span>我的档案</span> </a>
							<a href="<%=Const.ROOT %>post_list.action"> <i
								class="am-icon-angle-right"></i> <span>交寄信息列表</span> </a>
							<a href="<%=Const.ROOT %>repe_list.action"> <i class="am-icon-angle-right"></i>
								<span>奖惩信息列表</span> </a>
							<a href="<%=Const.ROOT %>manage/updatepwd.jsp"> <i class="am-icon-angle-right"></i>
								<span>密码修改</span> </a>
						</li>
					</ul>
			</li>
			</s:if>
			<!-- 管理员 -->
			<s:if test="#session.role==2">
				<li class="tpl-left-nav-item">
				<a href="javascript:;"
					class="nav-link tpl-left-nav-link-list active"> <i
					class="am-icon-folder"></i> <span>管理员</span> </a>
					<ul class="tpl-left-nav-sub-menu" style="display: block">
						<li>
							<a href="<%=Const.ROOT %>student_list.action"> <i class="am-icon-angle-right"></i>
								<span>毕业生列表</span> </a>
							<a href="<%=Const.ROOT %>dangan_list.action"> <i class="am-icon-angle-right"></i>
								<span>毕业生档案列表</span> </a>
							<a href="<%=Const.ROOT %>teacher_list.action""> <i
								class="am-icon-angle-right"></i> <span>辅导员列表</span> </a>
							<a href="<%=Const.ROOT %>company_list.action"> <i class="am-icon-angle-right"></i>
								<span>用人单位列表</span> </a>
							<a href="<%=Const.ROOT %>zhuanye_list.action"> <i
								class="am-icon-angle-right"></i> <span>专业列表</span> </a>
							<a href="<%=Const.ROOT %>banji_list.action"> <i
								class="am-icon-angle-right"></i> <span>班级列表</span> </a>
							<a href="<%=Const.ROOT %>post_list.action"> <i
								class="am-icon-angle-right"></i> <span>交寄信息列表</span> </a>
							<a href="<%=Const.ROOT %>repe_list.action"> <i class="am-icon-angle-right"></i>
								<span>奖惩信息列表</span> </a>
							<a href="<%=Const.ROOT %>manage/updatepwd.jsp"> <i class="am-icon-angle-right"></i>
								<span>密码修改</span> </a>
						</li>
					</ul>
			</li>
			</s:if>
			<!-- 辅导员 -->
			<s:if test="#session.role==3">
				<li class="tpl-left-nav-item">
				<a href="javascript:;"
					class="nav-link tpl-left-nav-link-list active"> <i
					class="am-icon-folder"></i> <span>辅导员</span> </a>
					<ul class="tpl-left-nav-sub-menu" style="display: block">
						<li>
							<a href="<%=Const.ROOT %>teacher_toupdate.action?id=${currentUser.id}"> <i class="am-icon-angle-right"></i>
								<span>我的资料</span> </a>
							<a href="<%=Const.ROOT %>student_list.action"> <i class="am-icon-angle-right"></i>
								<span>毕业生列表</span> </a>
							<a href="<%=Const.ROOT %>dangan_list.action"> <i class="am-icon-angle-right"></i>
								<span>毕业生档案列表</span> </a>
							<a href="<%=Const.ROOT %>post_list.action"> <i
								class="am-icon-angle-right"></i> <span>交寄信息列表</span> </a>
							<a href="<%=Const.ROOT %>repe_list.action"> <i class="am-icon-angle-right"></i>
								<span>奖惩信息列表</span> </a>
							<a href="<%=Const.ROOT %>manage/updatepwd.jsp"> <i class="am-icon-angle-right"></i>
								<span>密码修改</span> </a>
						</li>
					</ul>
			</li>
			</s:if>

		</ul>
	</div>
</div>